package com.bsoft.gol.editor.dao;


import ctd.persistence.annotation.DAOMethod;
import ctd.persistence.annotation.DAOParam;
import com.bsoft.gol.editor.editor.DiagnosisList;

import java.util.List;

/**
 * Created by Sangs on 2020/4/3.
 */
public abstract class DiagnosisListDAO extends ctd.persistence.support.hibernate.HibernateSupportDelegateDAO<DiagnosisList> {

    public DiagnosisListDAO() {
        this.setKeyField("reportDiagnosisId");
    }


    @DAOMethod(sql = "from diagnosisList where reportId=:reportId ")
    public abstract List<DiagnosisList> queryDiagnosisListByReportId(@DAOParam("reportId") String reportId);





}